[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 14 Oct 2022 19:35:00 +0000 (20:35 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 14 Oct 2022 19:35:00 +0000 (20:35 +0100)
commit2743393c84654d89348d9b9b47f355d8ccdb4602
treec1b3c89b681237629aaefe42a4e80916569d7c6b
parent0d2cbb46d69e44f5ec31e26d3d680a457ef8c59c
[PATCH] Workaround to add IPv6 support to getifaddrs

ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff
sysdeps/mach/hurd/ifaddrs.c [new file with mode: 0644]